package edu.ustb.test;

public class Main {
	
	public static void main(String[] args) {
		String msg = "大家好:)，<script>，被就业，敏感，网络课没感觉，因为看不见大伙儿";
		
		System.out.println(msg);
		
		MsgProcessor processor = new MsgProcessor();
		processor.setMsg(msg);
		
		FilterChain filterChain = new FilterChain();
		filterChain.addFilter(new HTMLFilter())
						  .addFilter(new SensitiveFilter())
						  .addFilter(new FaceFilter());
		processor.setFilterChain(filterChain);
		String result = processor.process();
		System.out.println(result);
	

	}
	
}
